﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Jaunt_Card;

namespace JauntCardTest
{
    class Program
    {
        static void Main(string[] args)
        {
            uint serialNum = 347929287;
            uint currPassword = 12345;

            Console.WriteLine("serialNum=" + serialNum.ToString());
            Console.WriteLine("currPassword=" + currPassword.ToString());

            UInt64 password = Jaunt_Card.Card.CalcCardPassword(serialNum, currPassword);

            Console.WriteLine("计算后的密码为：" + password.ToString("X16"));

            Console.ReadKey();
        }
    }
}
